package com.bkgy.controller.allprocessDefect.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectRequest;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AllprocessDefectMapper {

    /**
     * 成材率和质量缺陷关联-CAL1630
     * @param query AllprocessDefectRequest
     * @return
     */
    List<AllprocessDefectResponse> getDefecCal1630(Page<?> page, @Param("query") AllprocessDefectRequest query);

    /**
     * 成材率和质量缺陷关联-CAL2150
     * @param query AllprocessDefectRequest
     * @return
     */
    List<AllprocessDefectResponse> getDefecCal2150(Page<?> page, @Param("query") AllprocessDefectRequest query);

    /**
     * 成材率和质量缺陷关联-CGL1870
     * @param query AllprocessDefectRequest
     * @return
     */
    List<AllprocessDefectResponse> getDefecCgl1870(Page<?> page, @Param("query") AllprocessDefectRequest query);

    /**
     * 成材率和质量缺陷关联-TCM2280
     * @param query AllpricessIndexReasonRequst
     * @return
     */
    List<AllprocessDefectResponse> getDefecTcm2280(Page<?> page, @Param("query") AllprocessDefectRequest query);

}


